package com.kafka.spring;

import com.kafka.spring.mq.MqMessage;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.stream.annotation.EnableBinding;

@SpringBootApplication
@EnableDiscoveryClient
@EnableBinding(MqMessage.class)
public class SpringKafkaProducerComsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringKafkaProducerComsumerApplication.class, args);
    }

}
